package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import java.util.Date;

/**
 * 评论类
 *
 */
@Getter
@Setter
public class CommunityComment extends BaseDomain {
    private String commentContent; //评论内容
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date commentTime;//评论时间

    private Long userId;//评论人Id

    private User user;//评论人

    private Long answerId;//回答id

    private Long questionId;//问题id
}